package com.cskaoyan.service.wx.nj;

import com.cskaoyan.bean.wx.nj.CskaoyanmallOrderGoods;
import com.cskaoyan.bean.wx.nj.CskaoyanmallOrderGoodsExample;
import com.cskaoyan.mapper.wx.nj.CskaoyanmallOrderGoodsMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CskaoyanmallOrderGoodsServiceImpl implements CskaoyanmallOrderGoodsService{

    @Resource
    private CskaoyanmallOrderGoodsMapper cskaoyanmallOrderGoodsMapper;

    @Override
    public long countByExample(CskaoyanmallOrderGoodsExample example) {
        return cskaoyanmallOrderGoodsMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(CskaoyanmallOrderGoodsExample example) {
        return cskaoyanmallOrderGoodsMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return cskaoyanmallOrderGoodsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(CskaoyanmallOrderGoods record) {
        return cskaoyanmallOrderGoodsMapper.insert(record);
    }

    @Override
    public int insertSelective(CskaoyanmallOrderGoods record) {
        return cskaoyanmallOrderGoodsMapper.insertSelective(record);
    }

    @Override
    public List<CskaoyanmallOrderGoods> selectByExample(CskaoyanmallOrderGoodsExample example) {
        return cskaoyanmallOrderGoodsMapper.selectByExample(example);
    }

    @Override
    public CskaoyanmallOrderGoods selectByPrimaryKey(Integer id) {
        return cskaoyanmallOrderGoodsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(CskaoyanmallOrderGoods record, CskaoyanmallOrderGoodsExample example) {
        return cskaoyanmallOrderGoodsMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(CskaoyanmallOrderGoods record, CskaoyanmallOrderGoodsExample example) {
        return cskaoyanmallOrderGoodsMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(CskaoyanmallOrderGoods record) {
        return cskaoyanmallOrderGoodsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CskaoyanmallOrderGoods record) {
        return cskaoyanmallOrderGoodsMapper.updateByPrimaryKey(record);
    }

}
